home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / emacs-complete / fsf / emacs / lisp / soundex.elc < prev    next >
Emacs Compiled Lisp  |  1994-06-23  |  1.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6f 6c 61 6e 64 40 |piled by| roland@|
|00000020| 63 68 75 72 63 68 79 2e | 67 6e 75 2e 61 69 2e 6d |churchy.|gnu.ai.m|
|00000030| 69 74 2e 65 64 75 20 6f | 6e 20 54 68 75 20 4a 75 |it.edu o|n Thu Ju|
|00000040| 6e 20 32 33 20 32 30 3a | 35 39 3a 35 39 20 31 39 |n 23 20:|59:59 19|
|00000050| 39 34 0a 3b 3b 3b 20 66 | 72 6f 6d 20 66 69 6c 65 |94.;;; f|rom file|
|00000060| 20 2f 67 64 2f 67 6e 75 | 2f 65 6d 61 63 73 2f 31 | /gd/gnu|/emacs/1|
|00000070| 39 2e 30 2f 6c 69 73 70 | 2f 73 6f 75 6e 64 65 78 |9.0/lisp|/soundex|
|00000080| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|00000090| 72 73 69 6f 6e 20 31 39 | 2e 32 35 2e 31 33 2e 0a |rsion 19|.25.13..|
|000000a0| 3b 3b 3b 20 62 79 74 65 | 63 6f 6d 70 20 76 65 72 |;;; byte|comp ver|
|000000b0| 73 69 6f 6e 20 46 53 46 | 20 32 2e 31 30 0a 3b 3b |sion FSF| 2.10.;;|
|000000c0| 3b 20 6f 70 74 69 6d 69 | 7a 61 74 69 6f 6e 20 69 |; optimi|zation i|
|000000d0| 73 20 6f 6e 2e 0a 3b 3b | 3b 20 74 68 69 73 20 66 |s on..;;|; this f|
|000000e0| 69 6c 65 20 75 73 65 73 | 20 6f 70 63 6f 64 65 73 |ile uses| opcodes|
|000000f0| 20 77 68 69 63 68 20 64 | 6f 20 6e 6f 74 20 65 78 | which d|o not ex|
|00000100| 69 73 74 20 69 6e 20 45 | 6d 61 63 73 20 31 38 2e |ist in E|macs 18.|
|00000110| 0a 0a 28 69 66 20 28 61 | 6e 64 20 28 62 6f 75 6e |..(if (a|nd (boun|
|00000120| 64 70 20 27 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |dp 'emac|s-versio|
|00000130| 6e 29 0a 09 20 28 6f 72 | 20 28 61 6e 64 20 28 62 |n).. (or| (and (b|
|00000140| 6f 75 6e 64 70 20 27 65 | 70 6f 63 68 3a 3a 76 65 |oundp 'e|poch::ve|
|00000150| 72 73 69 6f 6e 29 20 65 | 70 6f 63 68 3a 3a 76 65 |rsion) e|poch::ve|
|00000160| 72 73 69 6f 6e 29 0a 09 | 20 20 20 20 20 28 73 74 |rsion)..| (st|
|00000170| 72 69 6e 67 2d 6c 65 73 | 73 70 20 65 6d 61 63 73 |ring-les|sp emacs|
|00000180| 2d 76 65 72 73 69 6f 6e | 20 22 31 39 22 29 29 29 |-version| "19")))|
|00000190| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 60 2f 67 |. (er|ror "`/g|
|000001a0| 64 2f 67 6e 75 2f 65 6d | 61 63 73 2f 31 39 2e 30 |d/gnu/em|acs/19.0|
|000001b0| 2f 6c 69 73 70 2f 73 6f | 75 6e 64 65 78 2e 65 6c |/lisp/so|undex.el|
|000001c0| 27 20 77 61 73 20 63 6f | 6d 70 69 6c 65 64 20 66 |' was co|mpiled f|
|000001d0| 6f 72 20 45 6d 61 63 73 | 20 31 39 22 29 29 0a 0a |or Emacs| 19"))..|
|000001e0| 28 64 65 66 76 61 72 20 | 73 6f 75 6e 64 65 78 2d |(defvar |soundex-|
|000001f0| 61 6c 69 73 74 20 28 71 | 75 6f 74 65 20 28 28 36 |alist (q|uote ((6|
|00000200| 36 20 2e 20 22 31 22 29 | 20 28 37 30 20 2e 20 22 |6 . "1")| (70 . "|
|00000210| 31 22 29 20 28 38 30 20 | 2e 20 22 31 22 29 20 28 |1") (80 |. "1") (|
|00000220| 38 36 20 2e 20 22 31 22 | 29 20 28 36 37 20 2e 20 |86 . "1"|) (67 . |
|00000230| 22 32 22 29 20 28 37 31 | 20 2e 20 22 32 22 29 20 |"2") (71| . "2") |
|00000240| 28 37 34 20 2e 20 22 32 | 22 29 20 28 37 35 20 2e |(74 . "2|") (75 .|
|00000250| 20 22 32 22 29 20 28 38 | 31 20 2e 20 22 32 22 29 | "2") (8|1 . "2")|
|00000260| 20 28 38 33 20 2e 20 22 | 32 22 29 20 28 38 38 20 | (83 . "|2") (88 |
|00000270| 2e 20 22 32 22 29 20 28 | 39 30 20 2e 20 22 32 22 |. "2") (|90 . "2"|
|00000280| 29 20 28 36 38 20 2e 20 | 22 33 22 29 20 28 38 34 |) (68 . |"3") (84|
|00000290| 20 2e 20 22 33 22 29 20 | 28 37 36 20 2e 20 22 34 | . "3") |(76 . "4|
|000002a0| 22 29 20 28 37 37 20 2e | 20 22 35 22 29 20 28 37 |") (77 .| "5") (7|
|000002b0| 38 20 2e 20 22 35 22 29 | 20 28 38 32 20 2e 20 22 |8 . "5")| (82 . "|
|000002c0| 36 22 29 29 29 20 22 5c | 0a 41 6c 69 73 74 20 6f |6"))) "\|.Alist o|
|000002d0| 66 20 63 68 61 72 73 2d | 74 6f 2d 6b 65 79 2d 63 |f chars-|to-key-c|
|000002e0| 6f 64 65 20 66 6f 72 20 | 62 75 69 6c 64 69 6e 67 |ode for |building|
|000002f0| 20 53 6f 75 6e 64 65 78 | 20 6b 65 79 73 2e 22 29 | Soundex| keys.")|
|00000300| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 73 6f 75 6e |.(defali|as 'soun|
|00000310| 64 65 78 20 23 5b 28 77 | 6f 72 64 29 20 22 08 96 |dex #[(w|ord) "..|
|00000320| 89 18 47 19 08 c2 48 0b | 9e 41 1c 08 c2 c5 4f 1e |..G...H.|.A....O.|
|00000330| 06 c5 1e 07 5c 66 1e 08 | c9 0e 06 47 56 83 4e 00 |....\f..|...GV.N.|
|00000340| 0e 07 09 57 83 4e 00 08 | 0e 07 48 0b 9e 41 14 0e |...W.N..|..H..A..|
|00000350| 07 54 16 07 0e 06 5c 66 | 3f 86 40 00 5c 66 0e 08 |.T....\f|?.@.\f..|
|00000360| 98 3f 85 45 00 5c 66 50 | 16 06 5c 66 16 08 82 19 |.?.E.\fP|..\f....|
|00000370| 00 c9 0e 06 47 56 83 60 | 00 0e 06 ca 50 c2 c9 4f |....GV.`|....P..O|
|00000380| 82 62 00 0e 06 2e 06 87 | 22 20 5b 77 6f 72 64 20 |.b......|" [word |
|00000390| 6c 65 6e 67 74 68 20 30 | 20 73 6f 75 6e 64 65 78 |length 0| soundex|
|000003a0| 2d 61 6c 69 73 74 20 63 | 6f 64 65 20 31 20 6b 65 |-alist c|ode 1 ke|
|000003b0| 79 20 69 6e 64 65 78 20 | 70 72 65 76 2d 63 6f 64 |y index |prev-cod|
|000003c0| 65 20 34 20 22 30 30 30 | 22 5d 20 34 20 22 5c 0a |e 4 "000|"] 4 "\.|
|000003d0| 52 65 74 75 72 6e 20 61 | 20 53 6f 75 6e 64 65 78 |Return a| Soundex|
|000003e0| 20 6b 65 79 20 66 6f 72 | 20 57 4f 52 44 2e 0a 49 | key for| WORD..I|
|000003f0| 6d 70 6c 65 6d 65 6e 74 | 65 64 20 61 73 20 64 65 |mplement|ed as de|
|00000400| 73 63 72 69 62 65 64 20 | 69 6e 3a 0a 4b 6e 75 74 |scribed |in:.Knut|
|00000410| 68 2c 20 44 6f 6e 61 6c | 64 20 45 2e 20 5c 22 54 |h, Donal|d E. \"T|
|00000420| 68 65 20 41 72 74 20 6f | 66 20 43 6f 6d 70 75 74 |he Art o|f Comput|
|00000430| 65 72 20 50 72 6f 67 72 | 61 6d 6d 69 6e 67 2c 20 |er Progr|amming, |
|00000440| 56 6f 6c 2e 20 33 3a 20 | 53 6f 72 74 69 6e 67 0a |Vol. 3: |Sorting.|
|00000450| 61 6e 64 20 53 65 61 72 | 63 68 69 6e 67 5c 22 2c |and Sear|ching\",|
|00000460| 20 41 64 64 69 73 6f 6e | 2d 57 65 73 6c 65 79 20 | Addison|-Wesley |
|00000470| 28 31 39 37 33 29 2c 20 | 70 70 2e 20 33 39 31 2d |(1973), |pp. 391-|
|00000480| 33 39 32 2e 22 5d 29 0a | |392."]).| |
+--------+-------------------------+-------------------------+--------+--------+